package com.lee9213.conference.track.management.format;

import com.lee9213.conference.track.management.entity.TalkEntity;
import com.lee9213.conference.track.management.exception.FileFormatException;

import java.util.List;


/**
 * 会话解析接口
 *
 * @author lee9213@163.com
 * @version 1.0
 * @date 2018-07-11 12:26
 */
public interface Parse {

    /**
     * 解析文本格式
     *
     * @param text 格式内容
     * @return
     * @throws FileFormatException
     */
    List<TalkEntity> parse(List<String> text) throws FileFormatException;
}
